package net.vinote.smart.platform.service.bean;

import net.vinote.smart.platform.module.database.Entity;

/***
 * 
 * 系统参数实体Bean
 */
public final class SystemParameter extends Entity {

	/** Aes128加密的秘钥 */
	private String aes128Key;

	/**
	 * 是否启用自动登录功能
	 */
	private int autoLogin;

	/** 空白页面路径 */
	private String blankURL;

	/** 默认的日志级别 */
	private int defaultLogLevel;

	/** 系统域地址 */
	private String domain;

	/** Info页面单行可配最大栏目数 */
	private int dwInfoMaxItems;

	/** 是否启用防火墙功能,[0:关闭,1:启用] */
	private int firewall;
	/**
	 * 1:https;0:http
	 */
	private int httpOrHttpsSwitch;

	/** 国际化文件存放目录 */
	private String i18nPath;

	/** 锁定账户时长,单位分钟 */
	private int lockTime;

	/** 用户运行登录失败次数 */
	private int loginFailTimes;

	/** 是否启用datawindow搜索功能 */
	private int openDwQuery;

	/**
	 * 是否开放用户注册功能
	 */
	private int openRegister;

	/** 是否启用工作台功能 */
	private int openWorkBench;

	/** 是否启用用户安全登录,若用户登录失败次数超过指定值,则锁定该账户 */
	private int safeLogin;

	/** 系统支持业务量 */
	private int serviceCapacity;

	/** 是否启用但会话登录 */
	private int singleSessionLogin;

	/** 应用系统名称 */
	private String systemName;

	/** 系统主题 */
	private String sysThemes;

	/**
	 * 是否使用验证码登录
	 */
	private int verifyCode;

	public int getDwInfoMaxItems() {
		return dwInfoMaxItems;
	}

	public void setDwInfoMaxItems(int dwInfoMaxItems) {
		this.dwInfoMaxItems = dwInfoMaxItems;
	}

	public String getBlankURL() {
		return blankURL;
	}

	public void setBlankURL(String blankURL) {
		this.blankURL = blankURL;
	}

	public String getSysThemes() {
		return sysThemes;
	}

	public void setSysThemes(String sysThemes) {
		this.sysThemes = sysThemes;
	}

	public int getOpenDwQuery() {
		return openDwQuery;
	}

	public void setOpenDwQuery(int openDwQuery) {
		this.openDwQuery = openDwQuery;
	}

	public String getAes128Key() {
		return aes128Key;
	}

	public void setAes128Key(String aes128Key) {
		this.aes128Key = aes128Key;
	}

	public int getSingleSessionLogin() {
		return singleSessionLogin;
	}

	public void setSingleSessionLogin(int singleSessionLogin) {
		this.singleSessionLogin = singleSessionLogin;
	}

	public int getDefaultLogLevel() {
		return defaultLogLevel;
	}

	public void setDefaultLogLevel(int defaultLogLevel) {
		this.defaultLogLevel = defaultLogLevel;
	}

	public String getSystemName() {
		return systemName;
	}

	public void setSystemName(String systemName) {
		this.systemName = systemName;
	}

	public int getVerifyCode() {
		return verifyCode;
	}

	public void setVerifyCode(int verifyCode) {
		this.verifyCode = verifyCode;
	}

	public int getAutoLogin() {
		return autoLogin;
	}

	public void setAutoLogin(int autoLogin) {
		this.autoLogin = autoLogin;
	}

	public int getLockTime() {
		return lockTime;
	}

	public void setLockTime(int lockTime) {
		this.lockTime = lockTime;
	}

	public int getLoginFailTimes() {
		return loginFailTimes;
	}

	public void setLoginFailTimes(int loginFailTimes) {
		this.loginFailTimes = loginFailTimes;
	}

	public int getSafeLogin() {
		return safeLogin;
	}

	public void setSafeLogin(int safeLogin) {
		this.safeLogin = safeLogin;
	}

	public int getHttpOrHttpsSwitch() {
		return httpOrHttpsSwitch;
	}

	public void setHttpOrHttpsSwitch(int httpOrHttpsSwitch) {
		this.httpOrHttpsSwitch = httpOrHttpsSwitch;
	}

	public int getOpenRegister() {
		return openRegister;
	}

	public void setOpenRegister(int openRegister) {
		this.openRegister = openRegister;
	}

	public int getOpenWorkBench() {
		return openWorkBench;
	}

	public void setOpenWorkBench(int openWorkBench) {
		this.openWorkBench = openWorkBench;
	}

	public int getServiceCapacity() {
		return serviceCapacity;
	}

	public void setServiceCapacity(int serviceCapacity) {
		this.serviceCapacity = serviceCapacity;
	}

	public String getI18nPath() {
		return i18nPath;
	}

	public void setI18nPath(String i18nPath) {
		this.i18nPath = i18nPath;
	}

	public final String getDomain() {
		return domain;
	}

	public final void setDomain(String domain) {
		this.domain = domain;
	}

	public int getFirewall() {
		return firewall;
	}

	public void setFirewall(int firewall) {
		this.firewall = firewall;
	}
}
